package com.centriole.common.entity;

import java.util.List;

/**
 *  功   能：  PAAS平台内部使用的 服务实体
 *  创建人：陈默晗
 *  时   间：2018年4月18日上午10:41:51
 */
public class PaasService extends BaseEntity {

    /**
     *   `sId`  'UUID主键',
     *   `serviceName` '应用名称',
     *   `serviceId`  'eureka中注册使用的 服务ID', 比如id为这样的 "SERVICE-LOG"、"SERVUCE-REDIS"等等
     *   `appStatus`  '应用状态-> 1：已启用；2：已停用',
     */

    private String sId;
    private String serviceName;
    private String serviceId;
    private Integer serviceStatus;
    private List<PaasUser> users;

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public Integer getServiceStatus() {
        return serviceStatus;
    }

    public void setServiceStatus(Integer serviceStatus) {
        this.serviceStatus = serviceStatus;
    }

    public List<PaasUser> getUsers() {
        return users;
    }

    public void setUsers(List<PaasUser> users) {
        this.users = users;
    }

    @Override
    public String toString() {
        return "PaasService{" +
                "sId='" + sId + '\'' +
                ", serviceName='" + serviceName + '\'' +
                ", serviceId='" + serviceId + '\'' +
                ", serviceStatus=" + serviceStatus +
                ", users=" + users +
                '}';
    }
}
